package com.qf.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "annunciate")
public class Annunciate  implements Serializable {

	@Id
	@Column(name = "an_id")
	private Integer anId;

	@DateTimeFormat(pattern = "yyyy-MM-dd")//指定时间格式
	@Column(name = "start_time")
	private java.util.Date startTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")//指定时间格式
	@Column(name = "end_time")
	private java.util.Date endTime;

	@Column(name = "publish_time")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private java.util.Date publishTime;

	@Column(name = "real_name")
	private String realName;

	@Column(name = "publish_content")
	private String publishContent;

	@Column(name = "Status")
	private Integer status;

	@Column(name = "ann_name")
	private String annName;

}
